package com.mk.hello.controller;

import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping
@RestController
@Component
public class HelloController {
    @GetMapping("/hello")
    public String Hello(){
        System.out.println("Hello2");
        return "ok2";
    }
}
